# $Id: PKGBUILD 151444 2012-02-26 10:58:51Z pierre $
# Maintainer:
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=lzop
pkgver=1.03
pkgrel=2
pkgdesc="File compressor using lzo lib"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.lzop.org/"
depends=('lzo2')
source=("http://www.lzop.org/download/${pkgname}-${pkgver}.tar.gz")
md5sums=('006c5e27fb78cdd14a628fdfa5aa1905')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
    --mandir=/usr/share/man
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
